Last Updated 10/28/2022
In this section we will learn the commands you need for a typical Linear Algebra course.
Matrices
To define a matrix in SageMath, we list the rows of the matrix with the matrix command. For example, let us define the matrix .
Try this!
Define the identity matrix .